package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.domain.ExpressInfo;
import com.zjhd.sealcutting.param.ExpressSearchQuery;
import com.zjhd.sealcutting.utils.response.ResponseResult;
import com.zjhd.sealcutting.vo.ExpressInfoVo;
import com.zjhd.sealcutting.vo.SearchResult;

/**
 * TODO  快递管理
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/11/25 17:40
 */
public interface ExpressInfoService {

    /**
     * TODO  分页查询快递信息
     * @author wangchao
     * @date 2020/11/25 18:04
     * @param
     * @return
     */
    SearchResult queryExpressParamlist(ExpressSearchQuery param)throws Exception;

    /**
     * TODO  新增快递信息
     * @author wangchao
     * @date 2020/11/25 17:55
     * @param
     * @return
     */
    ResponseResult insertExpressInfo(ExpressInfoVo expressInfoVo)throws Exception;

    /**
     * TODO  修改快递信息
     * @author wangchao
     * @date 2020/11/25 17:56
     * @param
     * @return
     */
    ResponseResult updateExpressInfo(ExpressInfoVo expressInfoVo)throws Exception;

    /**
     * TODO  删除快递信息
     * @author wangchao
     * @date 2020/11/25 17:56
     * @param
     * @return
     */
    ResponseResult deleteExpressInfo(Integer id)throws Exception;

    /**
     * TODO  根据ID查询快递信息
     * @author wangchao
     * @date 2020/11/27 14:28
     * @param
     * @return
     */
    ExpressInfoVo queryByIdExpressInfo(Integer id)throws Exception;
}
